<?php
/* @var $this SiteController */
/* @var $error array */

$this->pageTitle=Yii::app()->name . ' - 错误页面';
$this->breadcrumbs=array(
	'错误页面',
);
?>
<div class="panel panel-box" style="overflow:hidden;">
    <div class="panel-heading">
        <h3 class="panel-title">
            <?php echo '错误页面'; ?>
        </h3>
    </div>
    <div class="panel-body" style="padding:25px" id="frontdatetable">
 
<h1 style="text-align:center">
    <img src="<?php echo yii::app()->baseUrl.'/images/errorpng.png'?>"/>
</h1>
<h2 style="text-align:center">
    错误提示： <?php echo $code; ?>
<a href="<?php echo yii::app()->baseUrl?>" class="btn btn-warning" style="margin-left:30px">返回首页</a>
</h2>

<div class="error" style="text-align:center">
<?php echo CHtml::encode($message);?>
</div>
</div>
</div>
